<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />  
    <title>事件关注</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta name="author" content="飞啊飘啊">
	<meta name="hashcode" content="972347655">
	
	<script>window.duteTag="lz";</script>
	<script type="text/javascript" src="/admin/js/dute-1.0.js"></script>
	<script type="text/javascript" src="/admin/js/jquery-1.7.1.min.js"></script>
	
	<script type="text/javascript" src="/admin/js/lazy3q.ui.js"></script>
	<script>
		document.write('<link rel="stylesheet" type="text/css" href="/admin//css/'+($.cookie('theme')||'elegant')+'/lazy3q.ui.css" /> ');
	</script>
	
	<script type="text/javascript" src="/admin/js/jquery-ui-1.10.2.custom.min.js"></script>
	
	<!-- 用户自定义js(懒加载) -->
	<script type="text/javascript" src="/admin/js/define.js"></script>
	<!-- 用户自定义css样式 -->
	<link rel="stylesheet" type="text/css" href="/admin/css/define.css"/>
	<!-- icon font -->
  	<link rel="stylesheet" href="/admin/css/iconfont.css">
	
	
	
	<script type="text/javascript">
		window.basePath="/";
		window.hashcode = "972347655";
	</script>
		
	<!-- 感谢kindeditor出品的在线HTML编辑控件 -->
	<script type="text/javascript" charset="utf-8" src="/admin/js/kindeditor/kindeditor.js"></script>
		
	<!-- 感谢My97DatePicker出品的时间控件 -->
	<script language="javascript" type="text/javascript" src="/admin/js/My97DatePicker/WdatePicker.js"></script>
	
	<!------------------------VIEW_HTML_HEAD------------------------>
	<!------------------------VIEW_HTML_HEAD------------------------>	
	
</head>
<script>
Page({
  data:{
    
  },
  onLoad: function(options) {
  	var THIS = this;
  	THIS.setData(options);
  	$.getAjax("eventheed.get.do",options,function(protocol){
  		if(protocol.message){
  			$.toast(protocol.message);
  		}
  		document.title={
  			 "insert":"创建事件关注"
  			,"inport":"导入事件关注"
  			,"update":"修改事件关注"
  			,"detail":"事件关注详情"
  		}[options.edittype];
  		THIS.setData(protocol.data); 
  		/******************VIEW_HTML_SET_DATA******************/
  		/******************VIEW_HTML_SET_DATA******************/
  	});
  }
});
</script>
<script>
window["lzFlashUrl"]=top.lzFlashUrl||"/admin/flash/";
window["uploadUrl"]=top.uploadUrl||"/admin/upload.do";

$(function(){
		 
	$("#eventheedForm").form({
		"":function(){}
		,"srvEventHeed.sehId":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"srvEventHeed.sehEventType":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"srvEventHeed.sehHeedUser":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
			}
		}
		,"srvEventHeed.sehHeedType":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(!false && $("input[name='srvEventHeed.sehHeedType']:checked").length==0)
					return "处理方式至少选择一个";
			}
		}
		,"srvEventHeed.sehUpdateTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "修改时间不能为空";
			}
		}
		,"srvEventHeed.sehAddTime":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "添加时间不能为空";
			}
		}
		,"srvEventHeed.sehStatus":function(el){
			if($(el).parents("dd:eq(0)").find("b:contains('*')").size()>0){
				if(jQuery.trim(el.value)=="")
					return "请选择状态";
			}
		}
	},function(){
		/******************************LAZY3Q_FORM_VALIDATE******************************/
		/******************************LAZY3Q_FORM_VALIDATE******************************/
	});		
});
</script>

<body style="display:none;">



<!------------------------VIEW_HTML_TOP------------------------>
<!------------------------VIEW_HTML_TOP------------------------>


<form enctype="{{inports!=null?'multipart/form-data':''}}" lz:if="{{edittype=='insert'||edittype=='update'||edittype=='detail'||edittype=='any'||edittype=='inport'}}" class="form editform edittype_{{edittype}}" ref="SrvEventHeed" id="eventheedForm" name="eventheedForm" target="jsoniframe" action="eventheed.{{edittype=='any'?'update':edittype}}.do" method="post">
	<div class="head"></div>
	<div class="body">
		<div class="content">
			<div lz:if="{{edittype!='detail'}}" class="prompt">
				温馨提示：请仔细填写事件关注相关信息，<span class="extrude">"*" 为必填选项。</span>
			</div>
			<br/>
			<lz:block lz:if="{{message}}">
			<br/>
			<center>
				<font color="red"><h4>{{message}}</h4></font>
			</center>
			<br/>
			</lz:block>
			<input type="hidden" value="{{complete}}" name="complete" id="complete" />
			<input type="hidden" value="{{ids}}" name="ids" id="ids" />
			<textarea name="PARAMS" id="PARAMS" style="display:none">{{PARAMS}}</textarea>
			
			
			<lz:block lz:if="{{inports}}">
			  <div class="line"></div>
			  <dl style="width:98%;">
			  	<dt>Excel文件:</dt>
			  	<dd>
			  		<input type="hidden" value="{{inports}}" name="inports" id="inports" />
			  		<input type="hidden" value="{{inport$}}" name="inport$" id="inport$" />
			  		<input name="file" name="file" type="file"/>
			  		<b>*</b>
			  		<div>
						请上传excel文件，表格列依次为：[{{inport$}}]，excel表格第一行为列名称，将不作为上传数据行
					</div>
			  	</dd>
			  </dl>
			  <div class="line"></div>
			</lz:block>
	{{lz.set("sehId_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"sehId"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"sehId"))))}}
	{{lz.set("sehId_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$sehId}}
	<dl lz:if="{{sehId_editable||sehId_readonly}}" class="sehId hidden " major  ref="sehId">
		<dt>编　　号:</dt>
		<dd lz:if="{{sehId_editable}}" input="hidden">
			<lz:block lz:if="{{srvEventHeed$sehId}}">
				{{srvEventHeed$sehId}}
			</lz:block>
			<lz:block lz:if="{{!srvEventHeed$sehId}}">
			<input type="hidden" value="{{lz.htm(srvEventHeed.sehId)}}" name="srvEventHeed.sehId" id="sehId" />
	 	 </lz:block>
	 	 
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{sehId_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="sehId">{{srvEventHeed.sehId}}</textarea>
		 		<span>
		 	
			 {{lz.html(srvEventHeed.sehId$||srvEventHeed.sehId)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$sehId}}
	{{lz.set("sehEventType_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"sehEventType"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"sehEventType"))))}}
	{{lz.set("sehEventType_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$sehEventType}}
	<dl lz:if="{{sehEventType_editable||sehEventType_readonly}}" class="sehEventType  " major  ref="sehEventType">
		<dt>事件类型:</dt>
		<dd lz:if="{{sehEventType_editable}}" input="query">
			<lz:block lz:if="{{srvEventHeed$sehEventType}}">
				{{srvEventHeed$sehEventType}}
			</lz:block>
			<lz:block lz:if="{{!srvEventHeed$sehEventType}}">
		 			<input title="请输入事件类型类型名称进行查询" class="combox narrow" action="/admin/systematic/eventtype.query.do?value={param}" type="text" id="sehEventType" name="srvEventHeed.sehEventType" text="{{lz.html(srvEventHeed.sehEventType$||srvEventHeed.sehEventType)}}" value="{{lz.htm(srvEventHeed.sehEventType)}}" />
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#sehEventType').val())==''){return;};window.href('/admin/systematic/eventtype.detail.html?key='+$('#sehEventType').val())"></a>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{sehEventType_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="sehEventType">{{srvEventHeed.sehEventType}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/systematic/eventtype.details.html?key=srvEventHeed.sehEventType}')">
			 {{lz.html(srvEventHeed.sehEventType$||srvEventHeed.sehEventType)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$sehEventType}}
	{{lz.set("sehHeedUser_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"sehHeedUser"))))&&false)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"sehHeedUser"))))}}
	{{lz.set("sehHeedUser_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$sehHeedUser}}
	<dl lz:if="{{sehHeedUser_editable||sehHeedUser_readonly}}" class="sehHeedUser  " major  ref="sehHeedUser">
		<dt>关 注 人:</dt>
		<dd lz:if="{{sehHeedUser_editable}}" input="combox">
			<lz:block lz:if="{{srvEventHeed$sehHeedUser}}">
				{{srvEventHeed$sehHeedUser}}
			</lz:block>
			<lz:block lz:if="{{!srvEventHeed$sehHeedUser}}">
		 			<select class="combox narrow" action="/admin/permissions/user.query.do?size=255" id="sehHeedUser" name="srvEventHeed.sehHeedUser">
		 				<option selected="selected" value="{{lz.htm(srvEventHeed.sehHeedUser)}}">{{lz.htm(srvEventHeed.sehHeedUser$||srvEventHeed.sehHeedUser)}}</option>
		 			</select>
		 			<a class="lookup" href="javascript:void(0);" onclick="if($.trim($('#sehHeedUser').val())==''){return;};window.href('/admin/permissions/user.detail.do?key='+$('#sehHeedUser').val(),{ctrl:{editable:false}})"></a>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em></em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{sehHeedUser_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="sehHeedUser">{{srvEventHeed.sehHeedUser}}</textarea>
		 		<span>
		 	
			 <a href="javascript:void(0);" onclick="window.href('/admin/permissions/user.details.html?key=srvEventHeed.sehHeedUser}')">
			 {{lz.html(srvEventHeed.sehHeedUser$||srvEventHeed.sehHeedUser)}}</a>
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$sehHeedUser}}
	{{lz.set("sehHeedType_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"sehHeedType"))))&&true)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"sehHeedType"))))}}
	{{lz.set("sehHeedType_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$sehHeedType}}
	<dl lz:if="{{sehHeedType_editable||sehHeedType_readonly}}" class="sehHeedType   wider" major  ref="sehHeedType">
		<dt>处理方式:</dt>
		<dd lz:if="{{sehHeedType_editable}}" input="checkbox">
			<lz:block lz:if="{{srvEventHeed$sehHeedType}}">
				{{srvEventHeed$sehHeedType}}
			</lz:block>
			<lz:block lz:if="{{!srvEventHeed$sehHeedType}}">
					<div class='wide input'>
						<label style='display: inline-block;'><input type="checkbox" checked='{{lz.idin(srvEventHeed.sehHeedType,0) ? "checked" : ""}}' value="#0#" name="srvEventHeed.sehHeedType" id="sehHeedType"/>消息提示&nbsp;&nbsp;&nbsp;</label>
						<label style='display: inline-block;'><input type="checkbox" checked='{{lz.idin(srvEventHeed.sehHeedType,1) ? "checked" : ""}}' value="#1#" name="srvEventHeed.sehHeedType" id="sehHeedType"/>消息通知&nbsp;&nbsp;&nbsp;</label>
						<label style='display: inline-block;'><input type="checkbox" checked='{{lz.idin(srvEventHeed.sehHeedType,3) ? "checked" : ""}}' value="#3#" name="srvEventHeed.sehHeedType" id="sehHeedType"/>邮件通知&nbsp;&nbsp;&nbsp;</label>
						<label style='display: inline-block;'><input type="checkbox" checked='{{lz.idin(srvEventHeed.sehHeedType,2) ? "checked" : ""}}' value="#2#" name="srvEventHeed.sehHeedType" id="sehHeedType"/>短信通知&nbsp;&nbsp;&nbsp;</label>
						<label style='display: inline-block;'><input type="checkbox" checked='{{lz.idin(srvEventHeed.sehHeedType,4) ? "checked" : ""}}' value="#4#" name="srvEventHeed.sehHeedType" id="sehHeedType"/>微信通知&nbsp;&nbsp;&nbsp;</label>
					</div>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择事件关注的处理方式</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{sehHeedType_readonly}}">
		 	<div class="state-input wide">
		 		<textarea class=""  style="display:none;" id="sehHeedType">{{srvEventHeed.sehHeedType}}</textarea>
		 		<span>
		 	
			 {{lz.html(srvEventHeed.sehHeedType$||srvEventHeed.sehHeedType)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$sehHeedType}}
	{{lz.set("sehUpdateTime_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"sehUpdateTime"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"sehUpdateTime"))))}}
	{{lz.set("sehUpdateTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$sehUpdateTime}}
	<dl lz:if="{{sehUpdateTime_editable||sehUpdateTime_readonly}}" class="sehUpdateTime  " major  ref="sehUpdateTime">
		<dt>修改时间:</dt>
		<dd lz:if="{{sehUpdateTime_editable}}" input="datetime">
			<lz:block lz:if="{{srvEventHeed$sehUpdateTime}}">
				{{srvEventHeed$sehUpdateTime}}
			</lz:block>
			<lz:block lz:if="{{!srvEventHeed$sehUpdateTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="srvEventHeed.sehUpdateTime" id="sehUpdateTime"  value="{{srvEventHeed.sehUpdateTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择事件关注的修改时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{sehUpdateTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="sehUpdateTime">{{srvEventHeed.sehUpdateTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(srvEventHeed.sehUpdateTime$||srvEventHeed.sehUpdateTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$sehUpdateTime}}
	{{lz.set("sehAddTime_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"sehAddTime"))))&&false)||(edittype=='update'&&false)||((edittype=='any')&&(lz.idin(fields,"sehAddTime"))))}}
	{{lz.set("sehAddTime_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$sehAddTime}}
	<dl lz:if="{{sehAddTime_editable||sehAddTime_readonly}}" class="sehAddTime  " major  ref="sehAddTime">
		<dt>添加时间:</dt>
		<dd lz:if="{{sehAddTime_editable}}" input="datetime">
			<lz:block lz:if="{{srvEventHeed$sehAddTime}}">
				{{srvEventHeed$sehAddTime}}
			</lz:block>
			<lz:block lz:if="{{!srvEventHeed$sehAddTime}}">
		 	<input onchange="void(0);" onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" type="text" class="datetime input narrow" maxlength="19" name="srvEventHeed.sehAddTime" id="sehAddTime"  value="{{srvEventHeed.sehAddTime$}}"/>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择事件关注的添加时间</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{sehAddTime_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="sehAddTime">{{srvEventHeed.sehAddTime}}</textarea>
		 		<span>
		 	
			 {{lz.html(srvEventHeed.sehAddTime$||srvEventHeed.sehAddTime)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$sehAddTime}}
	{{lz.set("sehStatus_editable",((edittype=='insert'||(edittype=='inport' && (!lz.idin(inports,"sehStatus"))))&&false)||(edittype=='update'&&true)||((edittype=='any')&&(lz.idin(fields,"sehStatus"))))}}
	{{lz.set("sehStatus_readonly",(edittype=='insert'&&false)||(edittype=='update'&&false)||(edittype=='detail'))}}
	
	{{before$sehStatus}}
	<dl lz:if="{{sehStatus_editable||sehStatus_readonly}}" class="sehStatus  " major  ref="sehStatus">
		<dt>状　　态:</dt>
		<dd lz:if="{{sehStatus_editable}}" input="select">
			<lz:block lz:if="{{srvEventHeed$sehStatus}}">
				{{srvEventHeed$sehStatus}}
			</lz:block>
			<lz:block lz:if="{{!srvEventHeed$sehStatus}}">
		 	<select class="narrow" id="sehStatus" name="srvEventHeed.sehStatus">
		 		<option value="">请选择</option>
				<option value="1" selected='{{srvEventHeed.sehStatus=="1"?"selected":""}}'>正常</option>
				<option value="0" selected='{{srvEventHeed.sehStatus=="0"?"selected":""}}'>无效</option>
		 	</select>
	 	 </lz:block>
	 	 <b>*</b>
	 	 <em>请选择事件关注的状态</em> 
	 	 <a class="mui-navigate-right"></a>
		</dd>
		<dd lz:if="{{sehStatus_readonly}}">
		 	<div class="state-input narrow">
		 		<textarea class=""  style="display:none;" id="sehStatus">{{srvEventHeed.sehStatus}}</textarea>
		 		<span>
		 	
			 {{lz.html(srvEventHeed.sehStatus$||srvEventHeed.sehStatus)}}
	 	 		</span>
	 	 	</div>
		</dd>
	</dl>
	{{after$sehStatus}}
			
			
			<div class="line">
				<center lz:if="{{edittype=='insert'}}">
					<a onclick="$('.ribs').show();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:inline;padding: 0px 15px;">点击展开更多编辑项</a>
					<a onclick="$('.ribs').hide();window.fireResize();$('.ribs-handle').toggle();" href="javascript:void(0);" class="state-content ribs-handle" style="display:none;padding: 0px 15px;">点击收起更多编辑项</a>
				</center>
			</div>
			<center class="buttons">
				<input type="hidden" value="{{srvEventHeed.sehId}}" name="srvEventHeed.sehId" id="sehId" />
			
			<lz:block lz:if="{{edittype=='insert'||edittype=='update'||edittype=='any'||edittype=='inport'}}">
				<button class="button" type="submit">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					<span class="iconB iconfont icon-weibiaoti8"></span>
					保存&nbsp;&nbsp;</button>
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel();" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
			
			<lz:block lz:if="{{edittype=='detail'}}">
				<button lz:if="{{canEdit}}" type="button" class="button" onclick='window.location.href="/admin/systematic/eventheed.edit.html?edittype=update&id={{srvEventHeed.id}}"'>
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-tick.png"/>
					<span class="iconB iconfont icon-weibiaoti8"></span>
					修改&nbsp;&nbsp;</button>
				<button lz:if="{{canDel}}" type="button" class="button" onclick="deleteEventheed('{{srvEventHeed.id}}','{{srvEventHeed.sehId}}')">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					删除&nbsp;&nbsp;</button>
				<button title="不保存数据,关闭窗口,不刷新原列表" class="button" onclick="cancel();" type="button">
					&nbsp;<img class="iconA" align="absmiddle" width="20" src="/admin/images/icons/Badge-multiply.png"/>
					<span class="iconB iconfont icon-icon11"></span>
					关闭&nbsp;&nbsp;</button>
			</lz:block>
					
			</center>
			<br/>

		</div>
	</div>
	<div class="foot"></div>		
</form>

 


<!------------------------VIEW_HTML_BOTTOM------------------------>
<!------------------------VIEW_HTML_BOTTOM------------------------>


</body>

<!------------------------VIEW_HTML_FOOTER------------------------>
<!------------------------VIEW_HTML_FOOTER------------------------>
<script>
	
	$(function(){
		if(parent.setit){
			parent.setit("/admin/systematic/eventheed.edit.html",document.title,"/admin//images/icons/20088256421139077805.png");
		}
	});
	
	function cancel(){
		if(parent.closeHref){
			parent.closeHref("/admin/systematic/eventheed.edit.html");
		}else{
			$.closeModalDialog();
		}
	}


	/**
	* 删除事件关注
	**/
	function deleteEventheed(id,flag)
	{
		var dialog=top.$.dialog({
				html:"<span style='white-space:nowrap;'>确定要删除当前数据吗？</span>",
				title:"删除事件关注",
				modal: true,			
				onOk:function(){
					dialog.closeDialog();
					var url = "/admin/systematic/eventheed.delete.do";
					var params = {id:id};
					var protocol = $.getAjax(url,params);
					if(protocol.message){
						top.$.toast(protocol.message);
					}
					if(protocol.success){
						caller.location.href=caller.location.href;		
					}
				}
		 });	
	}
</script>
</html>